import React from 'react';
import Router from '@src/router';
import { BrowserRouter } from 'react-router-dom'; // 添加此行

const App = () => {
  return (
    <BrowserRouter>
      <Router />
    </BrowserRouter>
  );
};
export default App;